package com.sky.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * packageName com.sky.dto
 *
 * @author fenglai
 * @version JDK 11
 * @className OrdersStatisticsDTO
 * @date 2023/12/6
 * @description TODO
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class OrdersStatisticsDTO {

    //开始日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate begin;
    //结束日期
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate end;
}